package fun.werfamily.wf.order.core.domain.dto.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * wf_order_goods
 * @author 
 */
@Data
@ApiModel("订单商品实体")
public class OrderGoodsDTO implements Serializable {

    @ApiModelProperty("订单商品编号")
    private String orderGoodsNo;

    @ApiModelProperty("父订单号")
    private String orderNo;

    @ApiModelProperty("sku编码")
    private String skuCode;

    @ApiModelProperty("spu编码")
    private String spuCode;

    @ApiModelProperty("规格参数")
    private String goodsSpecValues;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("缩略图")
    private String goodsImage;

    @ApiModelProperty("商品的购买数量")
    private Integer goodsNum;

    @ApiModelProperty("计量单位")
    private String unit;

    @ApiModelProperty("本单售卖价格")
    private BigDecimal goodsSalesPrice;

    @ApiModelProperty("成本价")
    private BigDecimal goodsCostPrice;
}